<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script>
</head>
<body>
    <!-- v-model 可以实现双向数据流 -->
    <!-- 试图改变数据改变，数据改变视图改变 -->
    <div id="app">
        <input type="text" v-model="msg">
        {{msg}}
    </div>
    <script>
        new Vue({
            el: "#app",
            data: {
                msg:"hello wrold"
            }
        })
    </script>
</body>
</html>